.DesLeft{
    display: flex;
    height: 100%;
}

.desLeftLeft{
    height: 100%;
    background-color: white;
    width: 60px;
    z-index: 100;
    /* flex: 1; */
}

.desLeftLeft p{
    text-align: center;
    padding: 5px 0px;
    cursor: pointer; /* 这里设置鼠标滑入时变成手形光标 */
    border-radius: 10px;
    margin: 10px 5px;
}

.desLeftLeft p>.iconfont{
    display: block;
}

.desLeftLeft p:hover{
    background-color: #ccc;
}

.desLeftRight{
    flex: 1;
}

.container {
  position: relative;
  flex: 1;
  /* width: 400px; */
}

.expanded{
    width: 400px;
    transition: width 0.3s;
}

.toggle-button {
  position: absolute;
  top: 50%;
  right: -20px;
  font-size: 24px;
  z-index: 10001;
  background: none;
  border: none;
  cursor: pointer;
}

.sidebar {
  position: absolute;
  top: 0;
  left: -400px; /* 初始位置在左侧外面 */
  width: 400px;
  height: 100%;
  background-color: #f0f0f0;
  transition: left 0.3s ease;
  /* padding: 20px; */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.sidebar.show {
  left: 0; /* 展开时位置 */
}